package com.slipper.sfts.api.stock.service;

import com.slipper.common.bo.Result;
import com.slipper.common.feign.ServiceClient;
import com.slipper.common.annotation.FeignRequestMapping;
import com.slipper.sfts.api.stock.bo.StockOrderMessageBO;

import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 交易消息表
 */
@ServiceClient
public interface IStockOrderMessageSv {
    @FeignRequestMapping("/stockOrderMessage/queryBy")
    Result<StockOrderMessageBO> queryBy(@RequestBody String id);

    @FeignRequestMapping("/stockOrderMessage/queryList")
    Result<List<StockOrderMessageBO>> queryList(@RequestBody StockOrderMessageBO bo);

    @FeignRequestMapping("/stockOrderMessage/queryPage")
    Result<List<StockOrderMessageBO>> queryPage(@RequestBody StockOrderMessageBO bo);

    @FeignRequestMapping("/stockOrderMessage/save")
    Result<?> save(@RequestBody StockOrderMessageBO bo);
    
    @FeignRequestMapping("/stockOrderMessage/delete")
    Result<?> delete(@RequestBody StockOrderMessageBO bo);
}
